package com.zhuojy.equity.mall.admin.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhuojy.equity.mall.admin.common.pojo.BasePage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_mnnouncement_management")
public class Notice extends BasePage implements Serializable {
    private static final long serialVersionUID = 8933291917822955663L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long   id;
    private String title;
    private String department;//部门
    private Integer fromColumn;
    private Date   creationTime;//创建时间
    private Date   updateTime; //更新时间
    private String name;//作者
    private String text;//文本
    private Integer paiXu;
    private  String img;
    @TableField(exist = false)
    private TPosition tposition;

}
